﻿namespace PerceptiveMCAPI.Types
{
   public class Api_Error
   {
      public string code { get; set; }
      public string error { get; set; }

      public override string ToString()
      {
         return string.Format( "Error Code: {0}, Message: {1}",
            code, error );
      }
   }
}
